package com.xuexiang.yoyo.constant;

public class HesAppConstant {
    /**
     * sqlite 基础信息
     */
    public static final String DB_NAME="meter.db";
    //当前版本数据库的样式  如果需要提高版本就会更改数据库
    public static final Integer DB_VERSION=1;

    /**
     * 存储数据库KeyValue：key的值
     */
    public static final String DB_Key_username="username";
    public static final String DB_Key_password="password";
    public static final String DB_Key_ProtocalSelectIndex="ProtocalSelectIndex";
    public static final String DB_Key_CommunicationSelectIndex="CommunicationSelectIndex";
    public static final String DB_Key_ReadingDeviceId="ReadingDeviceId";
    public static final String DB_Key_ConnectFlag="ConnectFlag";
    public static final String DB_Key_PressTestFlag = "PressTestFlag";
    public static final String DB_Key_BaudSelectIndex="BaudSelectIndex";
    public static final String DB_Key_PressTestNum="PressTestNum";

    /**
     *     协议
     */
    public static final String DeviceProtocalApplied_DLMSCOSEM = "DLMS/COSEM";
    public static final String DeviceProtocalApplied_IEC62056_21S = "IEC62056-21(S)";
    public static final String DeviceProtocalApplied_IEC62056_21SPlus = "IEC62056-21(S-PLUS)";
    public static final String DeviceProtocalApplied_IEC62056_21 = "IEC62056-21";


    public static final String[] protocalList={HesAppConstant.DeviceProtocalApplied_DLMSCOSEM, HesAppConstant.DeviceProtocalApplied_IEC62056_21,
            HesAppConstant.DeviceProtocalApplied_IEC62056_21S, HesAppConstant.DeviceProtocalApplied_IEC62056_21SPlus};

    public static final String DeviceCommunication_Infrared= "Infrared";

    public static final String DeviceCommunication_Bluetooth= "Bluetooth";
    public static final String[] communicationList={DeviceCommunication_Bluetooth,DeviceCommunication_Infrared};
    public static final String[] baudList={"300","600","1200","2400","4800","9600","19200"};

    public static final String fcat_Tag_Biling = "Billing";
    public static final String fcat_Tag_Parameters = "Parameters";
    public static final String fcat_Tag_Display = "Display";
    public static final String fcat_Tag_LoadProfile = "LoadProfile";
    public static final String fcat_Tag_EventLog = "EventLog";

}
